import router from '@adonisjs/core/services/router'

const ReportsController = () => import('#controllers/stock/reports_controller')
const StockInController = () => import('#controllers/stock/stock_in_controller')
const StockOutController = () => import('#controllers/stock/stock_out_controller')

// 入库
router.curd('/stock-in', StockInController)

// 出库
router.curd('/stock-out', StockOutController)

router.get('stock-report/in-out-stock', [ReportsController, 'inOutStock'])
router.get('stock-report/stock', [ReportsController, 'stock'])
